package com.school_admin.service;

import com.school_admin.config.Result;
import com.school_admin.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2024-03-18
 */
public interface ICommentService extends IService<Comment> {

    Result<?> getCommentByPostId(String postId);

    Result<?> getCommentList(int page, int pageSize);

    Result<?> getCommentListByKewWord(int page, int pageSize, String keyWord);
}
